package cn.itsource.pay.mapper;

import cn.itsource.pay.domain.UserAddress;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UserAddressMapper extends Mapper<UserAddress> {

    @Select("select * from t_user_address where user_id = #{userId}")
    List<UserAddress> findUserAddresses(Long userId);
}
